Skip to content

Trim whitespace from OOO message before displaying - #263

Merged
alejandro5042 merged 2 commits into
alejandro5042:masterfrom
kroeschl:ooo-trim
Aug 5, 2026
Merged

Trim whitespace from OOO message before displaying#263
alejandro5042 merged 2 commits into
alejandro5042:masterfrom
kroeschl:ooo-trim

Conversation

@kroeschl

@kroeschl kroeschl commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Justification

If a user has trailing newlines in their out-of-office message, we display that in our tooltip and it looks wonky. For example, this real out of office message:
image

Implementation

Trim the message before displaying. Bump our patch version, but don't touch the update notification tooltip because I don't think this is worth notifying people.

Testing

The same message looks better now:
image

@alejandro5042
alejandro5042 merged commit aa60389 into alejandro5042:master Aug 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants